package com.nebor.product.domain.convert;

import com.nebor.product.domain.bo.ProductCategoryBO;
import com.nebor.product.infra.basic.entity.ProductCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ProductCategoryBoConverter {
    ProductCategoryBoConverter INSTANCE = Mappers.getMapper(ProductCategoryBoConverter.class);


    ProductCategory convertBoToEntity(ProductCategoryBO productCategoryBO);

    List<ProductCategoryBO> convertBoToCategory(List<ProductCategory> productCategoryList);
}
